/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 6%;
	top: 40xp;
	left: 0;
	background:#3339;
	z-index: 9999;
}
/* Overlay closing cross */
.overlay .overlay-close {
	width: 20px;
	height: 20px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	background: url(../images/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}
/* Menu style */
.overlay nav {
	text-align: center;
	position: relative;
	top: 10%;
	<--æ–‡å­—-->
	height: 60%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.overlay ul {
	width: 900px;
	list-style: none;
	top: 25px;
	left:200px;
	margin: 0 auto;
	display: inline-block;
	height: 20%;
	position: relative;
}
.overlay ul li {
	padding: 0 px;
	margin: 0 px;
	float:left;
	display: block;
	height: 20%;
	height: calc(100% / 5);
	min-height: 54px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.overlay ul li a {
	font-size: 25px;
    font-weight: normal;
    display: block;
    color: #fff;
	padding:10px;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition:all 0.9s ease-in-out;
    transition:all 0.9s ease-in-out;
	-moz-transition:all 0.9s ease-in-out;
	-o-transition:all 0.9s ease-in-out;
	-ms-transition:all 0.9s ease-in-out;
    font-family: 'Poiret One', cursive;
}
.overlay ul li a:hover,
.overlay ul li a:focus {
	color: #f0f0f0;
	border:1px solid #fff;
}
/* Effects */
.overlay-door {
	visibility: hidden;
	width: 0;
	left: 54%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	-webkit-transition: width 0.5s 0.3s, visibility 0s 0.8s;
	transition: width 0.5s 0.3s, visibility 0s 0.8s;
}

.overlay-door.open {
	top:6.05%;
	visibility: visible;
	width: 700px;
	left: 50%;
	-webkit-transition: width 0.5s;
	transition: width 0.5s;
}

.overlay-door nav {
	padding:0px;
	position: absolute;
	left: 40%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
}

.overlay-door nav,
.overlay-door .overlay-close {
	opacity: 0;
	-webkit-transition: opacity 0.3s 0.5s;
	transition: opacity 0.3s 0.5s;
}

.overlay-door.open nav,
.overlay-door.open .overlay-close {
	opacity: 1;
	-webkit-transition-delay: 0.5s;
	transition-delay: 0.5s;
}

.overlay-door.close nav,
.overlay-door.close .overlay-close {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

@media screen and (max-height: 30.5em) {
	.overlay nav {
		height: 70%;
		font-size: 34px;
	}
	.overlay ul li {
		min-height: 34px;
	}
}